home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gedit-2 / plugins / snippets / snippets.xml < prev    next >
Encoding:
Extensible Markup Language  |  2009-04-14  |  2.2 KB  |  64 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <snippets language="snippets">
  3.   <snippet id="simple">
  4.     <text><![CDATA[\${${1:n:default}}]]></text>
  5.     <description>Simple Placeholder</description>
  6.     <tag>simple</tag>
  7.   </snippet>
  8.   <snippet id="simple-fallback">
  9.     <text><![CDATA[\${${1:n:}[${2:default1,default2}]}]]></text>
  10.     <description>Simple Fallback Placeholder</description>
  11.     <tag>simplef</tag>
  12.   </snippet>
  13.   <snippet id="shell">
  14.     <text><![CDATA[\$(${1:n:} ${2:shell code})]]></text>
  15.     <description>Shell Placeholder</description>
  16.     <tag>shell</tag>
  17.   </snippet>
  18.   <snippet id="python">
  19.     <text><![CDATA[\$<${1:n:} ${2:[refs]:} return 'python code' >]]></text>
  20.     <description>Python Placeholder</description>
  21.     <tag>python</tag>
  22.   </snippet>
  23.   <snippet id="regex">
  24.     <text><![CDATA[\${${1:n:} ${2:input}/${3:regex-pattern}/${4:replacement}/${5:modifiers}}]]></text>
  25.     <description>Regular Expression Placeholder</description>
  26.     <tag>regex</tag>
  27.   </snippet>
  28.   <snippet id="$-FILENAME">
  29.     <text><![CDATA[\$GEDIT_FILENAME]]></text>
  30.     <description>Gedit Filename Variable</description>
  31.     <tag>$</tag>
  32.   </snippet>
  33.   <snippet id="$-BASENAME">
  34.     <text><![CDATA[\$GEDIT_BASENAME]]></text>
  35.     <description>Gedit Basename Variable</description>
  36.     <tag>$</tag>
  37.   </snippet>
  38.   <snippet id="$-SELECTED_TEXT">
  39.     <text><![CDATA[\$GEDIT_SELECTED_TEXT]]></text>
  40.     <description>Gedit Selected Text Variable</description>
  41.     <tag>$</tag>
  42.   </snippet>
  43.   <snippet id="$-SELECTED_WORD">
  44.     <text><![CDATA[\$GEDIT_SELECTED_WORD]]></text>
  45.     <description>Gedit Selected Word Variable</description>
  46.     <tag>$</tag>
  47.   </snippet>
  48.   <snippet id="$-DROP_FILENAME">
  49.     <text><![CDATA[\$GEDIT_DROP_FILENAME]]></text>
  50.     <description>Gedit Drop Filename Variable</description>
  51.     <tag>$</tag>
  52.   </snippet>
  53.   <snippet id="$-DROP_REL_FILENAME">
  54.     <text><![CDATA[\$GEDIT_DROP_REL_FILENAME]]></text>
  55.     <description>Gedit Drop Relative Filename Variable</description>
  56.     <tag>$</tag>
  57.   </snippet>
  58.   <snippet id="$-DROP_MIME_TYPE">
  59.     <text><![CDATA[\$GEDIT_DROP_MIME_TYPE]]></text>
  60.     <description>Gedit Drop Mime Type Variable</description>
  61.     <tag>$</tag>
  62.   </snippet>
  63. </snippets>
  64.